#!/bin/sh
# Source tutorial run functions
#. $WM_PROJECT_DIR/bin/tools/RunFunctions

sed -i 's/\(startTime \).*;/\1   0;/g' system/controlDict
sed -i 's/\(application \).*;/\1    rhoPotentialFoam;/g' system/controlDict

pyFoamClearCase.py . --processors-remove
rm -rf 0
cp -r 0.org 0

rhoPotentialFoam -writep
